﻿import QtQuick 2.15
import QtQuick.Window 2.15
import QtMultimedia 5.15
import QtQuick.Controls 2.15

import Application.CameraService 1.0

Window {
    visible: true
    width: 640
    height: 480
    title: qsTr("Hello World")

    VideoOutput {
        objectName: "videoOutput"
        anchors.fill: parent
        fillMode: VideoOutput.PreserveAspectFit//默认
        source: CameraService
        //该控件有videoSurface属性（只读）。该属性的值来自CameraService类的同名属性    
     }
}
